<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1.0">
	<title>Document</title>
</head>
<body>
	<script>

		async function fn(){
			return "你好"
		}
		async function func() {
		return new Promise((res,rej)=>{
			res('OK')
		})
		}
		let b=fn()
		let c=func()
		console.log(b);
		console.log(c);
	</script>
	<script>
		async function fun(){
			try {
				let d=await new Promise((res, rej) => {
						let ok = "no"
						rej(ok)
					})
			} catch (e) {
				console.log(e);
			}
		}
		fun()
		Object.valus
	</script>
</body>
</html>